package k2_oop.p6_relation.demo02;

public class TestDemo2 {
    public static void main(String[] args) {

        Cake cake = new Cake(new Egg("红皮"),new Milk("蒙牛"));
        Cake cake1 = new Cake(new Egg("白皮"),new Milk("伊利"));
        cake1.makeCake();

    }
}
